import math

num = int(input("input the number : "))

num_sqrt = math.sqrt(num)
flag = True
n = 2

while n<=num_sqrt:
    if((num%n)==0):
        flag = False
        break
    n=n+1
if flag:
    print("this is a prime number")
else:
    print("this isn't a prime number")